package com.suyuan.service;

import com.github.pagehelper.PageInfo;
import com.suyuan.entity.CompanyInfo;
import com.suyuan.web.Page;

import java.util.List;

public interface CompanyInfoService {

    PageInfo inquiry(Integer gId, String compName, Integer compTypeId, Page page);
    int save(CompanyInfo companyInfo);
    int delete(Integer id);
    CompanyInfo findByGid(Integer gId);
    int update(CompanyInfo companyInfo);
    List<CompanyInfo> findByCompTypeId(int compTypeId);
    List<CompanyInfo> findAll();
}
